<template>
  <div>
    <!--top -->
    <div class="header">
      <!-- title -->
      <div class="title">
        <div><slot name="title"></slot></div>
        <div><i class="el-icon-info"></i></div>
      </div>
      <!-- header number -->
      <div class="header_num">
        <slot name="header_num"></slot>
      </div>
    </div>
    <!-- content -->
    <div class="content">
      <div class="chart">
        <slot name="chart"></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.header {
  .title {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: gray;
  }
}
.header_num {
  height: 40px;
  line-height: 40px;
  font-size: 25px;
  font-weight: 900;
}

.chart {
  width: 100%;
  height: 100%;
}
</style>